<template>
  <div id="app">
    <router-view></router-view>
    <van-tabbar route v-if="$route.meta.showFooter">
      <van-tabbar-item icon="notes-o" badge="9" :to="{ name: 'publish' }"
        >资讯</van-tabbar-item
      >
      <van-tabbar-item :to="{ name: 'beauty' }" icon="like-o"
        >美圈</van-tabbar-item
      >
      <van-tabbar-item :to="{ name: 'Home' }" icon="shop-collect-o"
        >商城</van-tabbar-item
      >
      <van-tabbar-item :to="{ name: 'Mine' }" icon="setting-o"
        >我的</van-tabbar-item
      >
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: "App",
  data() {
    return {};
  },
  components: {},
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 0px;
}
body {
  margin: 0;
  padding: 0;
  border: 0;
}
</style>
